<!-- nav -->
<nav class="nav-primary hidden-xs">
    <ul class="nav">
        <li class="<?php echo ($this->params['controller'] == 'members' && $this->params['action'] == 'index' ) ? 'active' : ''; ?>">
            <a href="<?php echo $this->Html->url('/member'); ?>">
                <i class="fa fa-dashboard"></i>
                <span>Home</span>
            </a>
        </li>
        <li class="dropdown-submenu <?php echo ($this->params['controller'] == 'members' && $this->params['action'] == 'profile' ) ? 'active' : ''; ?>">
            <a href="<?php echo $this->Html->url('/member/profile'); ?>">
                <i class="fa fa-user"></i>
                <span>Profile</span>
            </a>
        </li>
        
        <li class="dropdown-submenu <?php echo ($this->params['controller'] == 'members' && $this->params['action'] == 'organisations' ) ? 'active' : ''; ?>">
            <a href="<?php echo $this->Html->url('/member/organisations'); ?>">
                <i class="fa fa-group"></i>
                <span>My Orgs</span>
            </a>
        </li>
        <!--

        <li class="dropdown-submenu <?php echo ($this->params['controller'] == 'members' && $this->params['action'] == 'friends' ) ? 'active' : ''; ?>">
            <a href="<?php echo $this->Html->url('/member/friends'); ?>">
                <i class="fa fa-group"></i>
                <span>Friends</span>
            </a>
        </li>-->


        <!--<li class="dropdown-submenu <?php echo ($this->params['controller'] == 'reports' && $this->params['action'] == 'Events' ) ? 'active' : ''; ?>">
            <a href="<?php echo $this->Html->url('/member/events'); ?>" >
                <i class="fa fa-calendar"></i>
                <span>Events</span>
            </a>
        </li>

        <li class="dropdown-submenu <?php echo ($this->params['controller'] == 'members' && $this->params['action'] == 'images' ) ? 'active' : ''; ?>">
            <a href="<?php echo $this->Html->url('/members/photos'); ?>" >
                <i class="fa fa-picture-o"></i>
                <span>Photos</span>
            </a>
        </li>-->
    </ul>
</nav>